package ws.reg;

import java.util.Arrays;

public class RegistrationServiceClient {
	
	/**
	 * @param args
	 */
	public static void main(String[] args) throws Exception {
		RegistrationService service = new RegistrationServiceProxy();
		String[] endPoints = service.getRegisteredEndpoints();
		System.out.println(Arrays.toString(endPoints));
		String response = service.addEndpoint("http://84.108.165.180:8080/searchWS/services/SearchWS?wsdl");
		System.out.println(response);
		
	}
	
}
